1. Use any AI.
2. Attach PSPad-User-Script-JScript-AI-Spec.md.
3: Prompt:
Based on the attached specification, create a PSPad editor user script that will <describe functionality>.
Menu item name: <your name in the Script menu>

4. Save the result as .js in:
- portable: .\Script\JScript\
- installed: %AppData%\PSpad\Script\JScript\
5. In PSPad (if PSPad is already running): Script  Recompile scripts.